package com.mumu.quratz.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.quartz.TimeOfDay;

import java.io.Serializable;
import java.util.Date;

/**
 * @author mumu
 * @version 1.0
 * @date 2023/7/13 15:28
 * @describe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SimpleProperty implements Serializable {

    private Date startTime;

    private Date endTime;

    private Long repeatCount = -1L;

    private int intervalInHours = 24;
    private int intervalInSeconds = 5;

    private TimeOfDay timeOfDay;

}
